<{include file="public/header.html"}>


<p id="page-intro">Free Blog</p>
<!--如果想要这个右边头部导航菜单打开注释即可
<{include file="public/right_header_menu.html"}>
-->
<div class="clear"></div> <!-- End .clear -->

<div class="content-box"><!-- Start Content Box -->
    <div class="content-box-header">

        <h3>用户组列表</h3>

        <ul class="content-box-tabs">
            <li><a href="#tab1" class="default-tab">用户组列表</a></li>
            <!-- href must be unique and match the id of target div -->

        </ul>

        <div class="clear"></div>

    </div> <!-- End .content-box-header -->

    <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
            <!-- This is the target div. id must match the href of this div's tab -->
            <table>
                <thead>
                <tr>
                    <th width="85">用户组名称</th>
                    <th>用户组描述</th>
                    <th>用户权限</th>
                    <th>操作</th>
                </tr>
                </thead>
                <{section name="ls" loop=$groupinfo}>
                <tr>
                    <td><{$groupinfo[ls].group_name}></td>
                    <td width="270"><{$groupinfo[ls].group_description}></td>
                    <td width="568">
                        用户管理
                        <{if $groupinfo[ls].group_muser==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        网站编辑
                        <{if $groupinfo[ls].group_mweb==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if$groupinfo[ls].group_mweb==0}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        文章管理
                        <{if $groupinfo[ls].group_marticle==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if $groupinfo[ls].group_marticle==0}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        图片管理
                        <{if $groupinfo[ls].group_mimage==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        发表文章
                        <{if $groupinfo[ls].group_sendarticle==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        发表评论
                        <{if $groupinfo[ls].group_sendcomment==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>

                        发站内信
                        <{if $groupinfo[ls].group_sendmessage==1}>
                            <img src="<{$res}>/images/icons/tick_circle.png">
                        <{else if}>
                            <img src="<{$res}>/images/icons/cross_circle.png">
                        <{/if}>
                    </td>
                    <td width="70"><a href="<{$app}>/group/update/gid/<{$groupinfo[ls].gid}>">
                        修改</a>&nbsp;|&nbsp;
                        <{if $groupinfo[ls].gid!=1 && $groupinfo[ls].gid!=2}>
                            <a href="<{$app}>/group/del/gid/<{$groupinfo[ls].gid}>">删除</a></td>
                        <{/if}>
                </tr>
                <{/section}>
            </table>

        </div> <!-- End #tab1 -->


    </div> <!-- End .content-box-content -->
</div> <!-- End .content-box -->


<!--
    <{include file="public/content_box.html"}>
-->

<div class="clear"></div>

<!-- 自定义消息提示框，需要就打开
<{include file="public/notic_box.html"}>
 -->

<!--页面底部-->
<{include file="public/foot.html"}>











